package com.liuyucheng.designpattern.工厂模式.factorymethod;

import com.liuyucheng.designpattern.工厂模式.simplefactory.Car;
import com.liuyucheng.designpattern.工厂模式.simplefactory.Tesla;

public class TeslaFactory implements CarFactory{
    @Override
    public Car getCar() {
        return new Tesla();
    }
}
